package com.woniuxy.dao;

import com.woniuxy.entity.RbacMenu;
import com.woniuxy.entity.RbacPerm;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <P> @Author: ideaAdmin
 * <P> TODO: Interface
 * <P> TODO:
 * <P> Date: 2022/2/24:17:37
 * <P> Description:
 */

public interface MenumDao {
    List<RbacPerm> findAll();

    List<RbacPerm> findSon(Integer id);

    int updateOne(@Param("fatherNode") Integer fatherNode,@Param("targetNode") Integer targetNode);

    int updateMenus(RbacMenu rbacMenu);


}
